<h1>Borrowed books</h1>

<% for book in @books %>
  	<p>
  		<strong><%= link_to (h book.title), book %></strong> <br />
			<%= h book.author %> 
				| <%= link_to 'Edit', edit_book_path(book) %>
    		|	<%= link_to 'Destroy', book, :confirm => 'Are you sure?', :method => :delete %>
<% end %>

<ul>
	<li><%= link_to "Tous les livres", books_path() %></li>
	<li><%= link_to "Send newsletter", { :controller => "newsletter", :action => "send_monthly_newsletter" } %></li>
	<li><%= link_to 'New book', new_book_path %></li>
</ul>